package com.yj.lottery_system.controller.param;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

@Data
public class CreatePrizeByActivityParam implements Serializable {
    //活动关联奖品id
    @NotNull(message = "活动关联奖品id不能为空")
    private Long prizeId;

    //活动关联奖品数量
    @NotNull(message = "活动关联奖品数量不能为空")
    private Long prizeAmount;
    //活动关联奖品等级
    @NotBlank(message = "活动关联奖品等级不能为空")
    private String prizeTiers;

}
